package com.java.module.system.service;

import org.springframework.web.multipart.MultipartFile;

import com.java.module.system.domain.vo.UploadVO;

/**
 * 通用服务层
 * 
 * @author yilabao
 * @date 2021年3月22日
 */
public interface ICommonService {

    /**
     * 通用文件上传
     * 
     * @param file MultipartFile
     * @return UploadVO
     */
    public UploadVO uploadFile(MultipartFile file);

    /**
     * base64 图片上传
     * 
     * @param file base64
     * @return UploadVO
     */
    public UploadVO uploadBase64(String file);

}
